package com.itic.web.mtype.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.itic.appbase.framework.common.controller.BaseController;
import com.itic.web.mtype.service.AppMemTypeService;
import com.itic.web.qo.TokenData;
import com.itic.web.ro.DataResult;



@Controller
@RequestMapping(value="/app/mtype")
public class AppMemTypeController extends BaseController {

	
    @Autowired
    private AppMemTypeService typeService;
    
    /**
     * @param token
     * @return
     */
    @RequestMapping(value = "/getTypeList")
    @ResponseBody
    public DataResult getTopicList(TokenData data){
    	return typeService.getTypeList(data);
    }

}